<script type="text/javascript" src="module/mod_ppk/js/kabupaten.js"></script>

<div id="tiga_ba">
	<div id="tiga_baa">Edit PPK</div>
	<div id="tiga_bab"></div>
	<div class="clear"></div>
</div>
            
<?php
	$id=$_GET['id'];
	$sql="select p.id_ppk,p.nama,p.alamat,p.direktur,k.kabupaten,pr.propinsi,j.jenis,kl.kelas,kt.kelas_tarif from ppk p inner join kabupaten k on p.id_kabupaten = k.id_kabupaten inner join propinsi pr on k.id_propinsi = pr.id_propinsi inner join jenis_ppk j on p.id_jenis = j.id_jenis inner join kelas kl on p.id_kelas = kl.id_kelas inner join kelas_tarif kt on kt.id_kelas_tarif = p.id_kelas_tarif where p.id_ppk = '$id'";
	//echo $sql;
	$qry=mysql_query($sql);
	$hasil=mysql_fetch_array($qry);
?>
<table style="margin: 10px 15px 10px 15px; line-height: 1.5em;">
	<tr>
		<td width="100">Kode PPK</td>
		<td width="10">:</td>
		<td><?php echo $hasil['id_ppk'] ?></td>
	</tr>
	<tr>
		<td>Nama PPK</td>
		<td>:</td>
		<td>
			<?php echo $hasil['nama']?>
		</td>
	</tr>
	<tr>
		<td>Jenis PPK</td>
		<td>:</td>
		<td>
			<?php echo $hasil['jenis']; ?>
		</td>
	</tr>
	<tr>
		<td>Alamat</td>
		<td>:</td>
		<td>
			<?php echo $hasil['alamat']?>
		</td>
	</tr>
	<tr>
		<td>Provinsi</td>
		<td>:</td>
		<td>
			<?php echo $hasil['propinsi']; ?>
		</td>
	</tr>
	<tr>
		<td>Kabupaten</td>
		<td>:</td>
		<td>
			<?php echo $hasil['kabupaten']; ?>
		</td>
	</tr>
	<tr>
		<td>Kelas</td>
		<td>:</td>
		<td>
			<?php echo $hasil['kelas']; ?>
		</td>
	</tr>
	<tr>
		<td>Kelas Tarif</td>
		<td>:</td>
		<td>
			<?php echo $hasil['kelas_tarif']; ?>
		</td>
	</tr>
	<tr>
		<td>Direktur</td>
		<td>:</td>
		<td>
			<?php echo $hasil['direktur']?>
		</td>
	</tr>
</table>

            
        